package com.atguigu.service;

import com.atguigu.pojo.MongoServiceConfig;
import com.atguigu.pojo.Page;

import java.util.List;

public interface MongoServiceConfigService {
    public void addMongoServiceConfig(MongoServiceConfig mongoServiceConfig);
    public void updateMongoServiceConfig(MongoServiceConfig mongoServiceConfig);
    public void deleteMongoServiceConfigById(String id);
    public MongoServiceConfig queryMongoServiceConfigById(String id);
    public MongoServiceConfig queryMongoServiceConfigByServiceId(String serviceId);
    public List<MongoServiceConfig> queryMongoServiceConfigs();
    public List<MongoServiceConfig> queryMongoServiceConfigsByPort(String port);
    public Page page(Integer pageNo, Integer pageSize);
}
